package com.service.purchase;

import java.util.HashMap;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.common.DateUtils;
import com.dao.purchase.PurchaseMapper;

@Service
public class PurchaseService {
	static final Logger logger = LoggerFactory.getLogger(PurchaseService.class);

	@Autowired
	PurchaseMapper purchaseMapper;

	/**
	 * 查询处于合同期内的协议物资
	 * @return
	 */
	public Map<String, HashMap<String, Object>> selOrdersState(String dateString) {
		Map<String, HashMap<String, Object>> map = purchaseMapper.selOrdersState(dateString);
		return map;
	}

}
